package com.yyzw.activiti.modeler.model;

import java.io.Serializable;
import java.util.List;

public class OrganizationVo implements Serializable {

    private Integer id;
    private Integer pid;
    private String text;
    private String state;
    private String href;
    private List<OrganizationVo> children;

    public OrganizationVo(){}

    public OrganizationVo(Integer id, Integer pid, String text, String state, String href, List<OrganizationVo> children) {
        this.id = id;
        this.pid = pid;
        this.text = text;
        this.state = state;
        this.href = href;
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public List<OrganizationVo> getChildren() {
        return children;
    }

    public void setChildren(List<OrganizationVo> children) {
        this.children = children;
    }
}